﻿@model IEnumerable<SelfMadeMillionaire.Core.Entities.Newsletter>
@using SelfMadeMillionaire.Web.Infrastructure

<h5><a href="@Url.Action("Index", "Newsletters", new { startDate = new DateTime(2014, 1, 1).ToString(Constants.DATE_FORMAT), endDate = new DateTime(2014, 12, 31).ToString(Constants.DATE_FORMAT), selectedProduct = (int)ViewData["SelectedProduct"] })" style="color:white;">Recent Issues</a></h5>
@if (Model != null)
{		
	<ul>
		@foreach (var item in Model)
		{
			<li><a href="@Url.Action("Details", "Newsletters", new { id = item.ID })">@item.TitleForRecentIssues()</a></li>
		}
	</ul>
}